extends Node2D
class_name AnimationManager ## 动画管理器
@onready var player: AnimationPlayer = $AnimationPlayer



func _ready() -> void:
	GlobalSignals.animation_player_signal.connect(play)
	
## 播放动画
func play(animationName:String) -> void:
	player.play(animationName)
